/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.ipti.br.tag.util;

import org.ipti.br.tag.entity.enums.*;
import javax.faces.bean.ApplicationScoped;
import javax.faces.bean.ManagedBean;


/**
 *
 * @author luancorumba
 */

@ManagedBean
@ApplicationScoped
public class EnumeationUtil {

    /**
     * Creates a new instance of EnumeationUtil
     */
    public EnumeationUtil() {
    }
    
    public AskTypes getInserted(){
        return AskTypes.Inserted;
    }
    
    public AskTypes getMultivalued(){
        return AskTypes.Multivalued;
    }
    
    public AskTypes getPreDefined(){
        return AskTypes.PreDefined;
    }
    
    public Laterality getAmbidextrous(){
        return Laterality.Ambidextrous;
    }
    
    public Laterality getLeftHanded(){
        return Laterality.LeftHanded;
    }
    
    public Laterality getRightHanded(){
        return Laterality.RightHanded;
    }
    
    public MaritalStatus getDivorced(){
        return MaritalStatus.Divorced;
    }
    
    public MaritalStatus getMarried(){
        return MaritalStatus.Married;
    }
    
    public MaritalStatus getSingle(){
        return MaritalStatus.Single;
    }
    
    public MaritalStatus getWidowed(){
        return MaritalStatus.Widowed;
    }
    
    public PersonageType getAllocated(){
        return PersonageType.ALLOCATED;
    }
    
    public PersonageType getMatriculate(){
        return PersonageType.MATRICULATED;
    }
    
    public Sex getMale(){
        return Sex.MALE;
    }
    
    public Sex getFemale(){
        return Sex.FEMALE;
    }
}
